package com.jarvan.repository;

import com.jarvan.model.Station;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface StationRepository extends JpaRepository<Station, Integer> {
    Station findByStationNum(String stationNum);
    List<Station> findAllByBindCity(String bindCity);
    Station findByStationName(String stationName);
    List<Station> findAllByBindProvince(String bindProvince);
    List<Station> findAllByStatus(Integer status);
}
